package com.stox.ui.javafx.charting.draw.mode;

import javafx.scene.Node;
import javafx.scene.input.MouseEvent;

public abstract class AbstractDrawingMode implements DrawingMode {

	@Override
	public void attach(Node node) {
		node.addEventHandler(MouseEvent.ANY, this);
	}

	@Override
	public void detach(Node node) {
		node.removeEventHandler(MouseEvent.ANY, this);
	}


}
